package com.sunny.rpc.base.test;

import com.sunny.rpc.base.core.RpcFramework;
import com.sunny.rpc.base.service.HelloService;
import com.sunny.rpc.base.service.impl.HelloServiceImpl;

/**
 * 提供者
 *
 * @author Sunny
 * @date 2019/6/7 14:24
 */
public class RpcProvider {
    public static void main(String[] args) throws Exception {
        HelloService helloService = new HelloServiceImpl();
        RpcFramework.export(helloService, 1111);
    }
}
